﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class Form3 : TestForm
    {
        public Form3()
        {
            InitializeComponent();
        }

 

        private void Form3_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            //窗体在屏幕上居中
            //this.CenterToScreen();
            //关闭窗体
            //this.Close();
            //在父窗边界内居中
            //this.CenterToParent();
        }

   
        private void Form3_MouseClick_1(object sender, MouseEventArgs e)
        {
            //TestForm form = new TestForm();
            //显示窗体
            //form.Show();
            //隐藏窗体
            //this.Hide();
        }

        private void Form3_MouseDoubleClick_1(object sender, MouseEventArgs e)
        {
            //窗体在屏幕上居中
            //this.CenterToScreen();
            //关闭窗体
            //this.Close();
            //在父窗边界内居中
            //this.CenterToParent();
        }
    }
}
